class PageInfo {
  List<dynamic>? records;
  int? total;
  int? size;
  int? current;
  int? pages;
  PageInfo.init(this.current, this.size);
  PageInfo.factory({this.current, this.size, this.total, this.pages});
  PageInfo();

  Map<String, dynamic> toJson() => <String, dynamic>{
        'size': size,
        'current': current,
        'total': total,
      };
}
